package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.system.domain.TradingRecords;
import org.dromara.system.domain.common.BasePageReqDTO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 交易记录业务对象 trading_records
 *
 * @author Lion Li
 * @date 2025-07-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TradingRecords.class, reverseConvertGenerate = false)
public class TradingRecordsBo extends BasePageReqDTO {

    /**
     *
     */
    private Long id;

    private Long userId;

    private Long machineId;


    private String orderNo;

    /**
     * 交易额
     */
    private BigDecimal amount;

    /*
     * 服务费
     * */
    private BigDecimal serviceMoney;

    /*
     * 结算金额
     * */
    private BigDecimal settlesAmountMoney;


    private String dealRate;


    private String merchantCode;

    private String merchantName;

    /**
     * 交易时间
     */
    private Date tradingTime;


    private BigDecimal points;

    /**
     * 备注
     */
    private String remark;

    private String userName;

    private String sn;

    private String brandName;

    private String lineName;

    private Date startTime;

    private Date endTime;


}
